home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / game / board / Exchess.lha / EXChess / main.h < prev    next >
C/C++ Source or Header  |  1998-08-10  |  956b  |  25 lines

  1. /* Header for main.cpp */
  2.  
  3. position game_pos;                      // board position
  4. position temp_pos;                      // temporary position
  5. position last_pos;                      // last position
  6.  
  7. move game_history[600];                 // game move history
  8. h_code p_list[600];                     // game position list
  9. move_list movelist;                     // game move list ...
  10.  
  11. int T = 1;                              // Turn number
  12. int p_side = 1;                         // player's side
  13. int game_over = 0;
  14. int book = 1;                           // book flag
  15. int both = 0;                           // human plays both sides
  16.  
  17. move best;                              // best move - will be made
  18. extern move pc[MAXD+1][MAXD+1];         // principle continuation
  19.  
  20. char response[60];                      // human response to prompt
  21.  
  22. // Starting position
  23. char i_pos[60] = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR";
  24.  
  25.